#!/bin/bash
if /usr/local/bin/pkucheck.sh > /dev/null
then
    exit 0
else
    echo $(date)
    if /usr/local/bin/pkulink.sh
    then
        exit 0
    else
        echo "Link Failure"
        exit 1
    fi
fi
exit 0
